package com.jbp.model;

import java.lang.annotation.Target;
import java.math.BigDecimal;
import java.util.Date;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/**
 * 红包转账记录(WalletTransfer)实体
 * @author cc
 * @since 2020-07-01 10:28:15
 */
@ApiModel(value="WalletTransfer")
@Data
public class WalletTransfer implements Serializable {
    private static final long serialVersionUID = 1L;
        
    
    private Integer id;

    //数量
    @ApiModelProperty(value="数量")    
    
    private BigDecimal num;

    //发红包的用户
    @ApiModelProperty(value="发红包的用户")    
    
    private Integer fromUserId;

    //收红包的用户
    @ApiModelProperty(value="收红包的用户")    
    
    private Integer toUserId;

    //创建时间
    @ApiModelProperty(value="创建时间")    
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")    
    private Date createTime;

    @TableField(exist = false)
    private Integer sendMsg;
}